package com.example.nick.bodyapplication.jetpack.mvvm

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.activity.viewModels
import com.example.nick.bodyapplication.R
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.MainScope

class MvvmActivity : AppCompatActivity(), CoroutineScope by MainScope() {
    val vm = viewModels<MvvmViewModel>()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_mvvm)
    }
}